/////////////////////////////////////////////////////////////////////////////
// Name:        UpdateProgressDlg.cpp
// Purpose:     
// Author:      Andrew (cod) Bulavinov
// Modified by: 
// Created:     06/01/2009 16:48:49
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif

////@begin includes
////@end includes

#include "UpdateProgressDlg.h"

////@begin XPM images

////@end XPM images


/*!
 * UpdateProgressDlg type definition
 */

IMPLEMENT_DYNAMIC_CLASS( UpdateProgressDlg, wxDialog )


/*!
 * UpdateProgressDlg event table definition
 */

BEGIN_EVENT_TABLE( UpdateProgressDlg, wxDialog )

////@begin UpdateProgressDlg event table entries
////@end UpdateProgressDlg event table entries

END_EVENT_TABLE()


/*!
 * UpdateProgressDlg constructors
 */

UpdateProgressDlg::UpdateProgressDlg()
{
    Init();
}

UpdateProgressDlg::UpdateProgressDlg( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
    Init();
    Create(parent, id, caption, pos, size, style);
}


/*!
 * UpdateProgressDlg creator
 */

bool UpdateProgressDlg::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
////@begin UpdateProgressDlg creation
    SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
    wxDialog::Create( parent, id, caption, pos, size, style );

    CreateControls();
    if (GetSizer())
    {
        GetSizer()->SetSizeHints(this);
    }
    Centre();
////@end UpdateProgressDlg creation
    return true;
}


/*!
 * UpdateProgressDlg destructor
 */

UpdateProgressDlg::~UpdateProgressDlg()
{
////@begin UpdateProgressDlg destruction
////@end UpdateProgressDlg destruction
}


/*!
 * Member initialisation
 */

void UpdateProgressDlg::Init()
{
////@begin UpdateProgressDlg member initialisation
////@end UpdateProgressDlg member initialisation
}


/*!
 * Control creation for UpdateProgressDlg
 */

void UpdateProgressDlg::CreateControls()
{    
////@begin UpdateProgressDlg content construction
    UpdateProgressDlg* itemDialog1 = this;

    wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL);
    itemDialog1->SetSizer(itemBoxSizer2);

////@end UpdateProgressDlg content construction
}


/*!
 * Should we show tooltips?
 */

bool UpdateProgressDlg::ShowToolTips()
{
    return true;
}

/*!
 * Get bitmap resources
 */

wxBitmap UpdateProgressDlg::GetBitmapResource( const wxString& name )
{
    // Bitmap retrieval
////@begin UpdateProgressDlg bitmap retrieval
    wxUnusedVar(name);
    return wxNullBitmap;
////@end UpdateProgressDlg bitmap retrieval
}

/*!
 * Get icon resources
 */

wxIcon UpdateProgressDlg::GetIconResource( const wxString& name )
{
    // Icon retrieval
////@begin UpdateProgressDlg icon retrieval
    wxUnusedVar(name);
    return wxNullIcon;
////@end UpdateProgressDlg icon retrieval
}
